/*
 * @Author: wangyuyong
 * @Date: 2020-07-19 10:51:54
 * @LastEditTime: 2020-07-22 15:15:59
 * @FilePath: /blog-manager/src/main.js
 * @Description:
 */

import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import http from "./http";
import MavonEditor from "mavon-editor";
import "mavon-editor/dist/css/index.css";

Vue.prototype.$http = http;
Vue.config.productionTip = false;

// 引入ElementUI
Vue.use(ElementUI);
// 引入md编辑器
Vue.use(MavonEditor);

new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
